<?php
namespace App\HttpController;
use EasySwoole\Http\AbstractInterface\AbstractRouter;
use FastRoute\RouteCollector;

class Router extends AbstractRouter
{
     
    function initialize(RouteCollector $routeCollector)
    {
     
        
        $routeCollector->get('/tt','/Index/test');
        $routeCollector->addRoute('GET','/tr','/Index/index');
        $routeCollector->addRoute('GET','/ts','/Index/test');
        // TODO: Implement initialize() method.
    }
}
?>